{extend name="./static/page/admin_tpl.html" /}

{block name="header_title"}评论详情{/block}
{block name="content"}
<div class="col-md-12 right-section">
    <!--内容区域-->
    <h3><i class="icon iconfont"><!--{$smarty.session.currentMenu.icon}--></i>评价详情</h3>
    <div class="inner-section row">
        <div class="items add-div">
            <form id="myForm" action="#" method="post" enctype="multipart/form-data">
                <div class="item table-responsive">
                    <table class="table table-striped table-hover table-bordered table-base">
                        <tbody>
                        <tr>
                            <td>发布消息标签<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                                {$messageInfo.label_name}
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>发布消息编号<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                                {$commentInfo.mess_num}
                            </td>
                            <td></td>
                        </tr>

                        <tr>
                            <td>发布消息内容<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                                {$messageInfo.text_content}
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>评价用户昵称<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                                {$commentInfo.nick_name}
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>评分<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                                {$commentInfo.score}
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>等级<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                                {if $commentInfo.level eq '1'}
                                好评
                                {elseif $commentInfo.level eq '2'}
                                中评
                                {else}
                                差评
                                {/if}
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>用户评价<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                               {$commentInfo.content}
                            </td>
                            <td></td>
                        </tr>

                        <tr>
                            <td>评价时间<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                                {$commentInfo.add_time}
                            </td>
                            <td></td>
                        </tr>
                        {if $commentInfo.is_reply eq '1'}
                        <tr>
                            <td>回复内容<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                               {$commentInfo.reply_content}
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>回复时间<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                                {$commentInfo.reply_time}
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>回复账号<label class="must-tag">&nbsp;&nbsp;</label></td>
                            <td>
                                {$commentInfo.reply_account}
                            </td>
                            <td></td>
                        </tr>
                        {/if}
                        <tr>
                            <td>
                            </td>
                            <td>
                                <input type="hidden" name="id" value="{$commentInfo.id}">
                                <a href="javascript:window.history.go(-1);" class="btn btn-default">返回</a>
                            </td>
                            <td></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </form>
        </div>
    </div>
</div>
{/block}
